export const rules = {
  sjh: [
    {
      required: true,
      message: '手机号必传内容',
      trigger: 'blur'
    },
    {
      pattern: /^[0-9]{11}$/,
      message: '手机号必须是11个数字',
      trigger: 'blur'
    }
  ],
  yzm: [
    {
      required: true,
      message: '验证码必传内容',
      trigger: 'blur'
    },
    {
      pattern: /^[0-9]{4,6}$/,
      message: '验证码必须是4到6个数字组成',
      trigger: 'blur'
    }
  ]
}
